package com.zch.spring_demo.work.domain;

import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author biscuit
 * @data 2018/01/15
 */
public interface IUserDao extends JpaRepository<User, Long> {
    User findByUsername(String username);
    User findByUsernameOrPassword(String username, String password);

}
